package com.ktgj.flight.domain;

import java.math.BigDecimal;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ktgj.common.core.annotation.Excel;
import com.ktgj.common.core.web.domain.BaseEntity;

/**
 * 订单支付信息对象 flight_order_cash_info
 * 
 * @author ruoyi
 * @date 2021-10-26
 */
public class FlightOrderCashInfo extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 订单号 */
    @Excel(name = "订单号")
    private Long orderId;

    /** 记录ID */
    private Long cashinfoId;

    /** 备注 */
    @Excel(name = "备注")
    private String memo;

    /** 送票员 */
    @Excel(name = "送票员")
    private Long deliverEmployeeId;

    /** 收款类型 */
    @Excel(name = "收款类型")
    private String collectType;

    /** 缴款单号 */
    @Excel(name = "缴款单号")
    private Long paycashId;

    /** 收款时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "收款时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date payTime;

    /** 收款人 */
    @Excel(name = "收款人")
    private Long employeeId;

    /** 实收代金券 */
    @Excel(name = "实收代金券")
    private String collectCoupons;

    /** 应收总金额 */
    @Excel(name = "应收总金额")
    private BigDecimal receivable;

    /** 业务类型 */
    @Excel(name = "业务类型")
    private String businessType;

    /** 针对退票单  实收预留款 */
    @Excel(name = "针对退票单  实收预留款")
    private Long actualDeposit;

    /** 交易号 */
    @Excel(name = "交易号")
    private String transactionId;

    /** 实收金额 */
    @Excel(name = "实收金额")
    private BigDecimal actualAmount;

    /** 退票Id */
    @Excel(name = "退票Id")
    private Long changeOrderId;

    /** 是否进行过退款 */
    @Excel(name = "是否进行过退款")
    private String isDeletes;

    public String getIsDeletes() {
        return isDeletes;
    }

    public void setIsDeletes(String isDeletes) {
        this.isDeletes = isDeletes;
    }

    public void setOrderId(Long orderId) 
    {
        this.orderId = orderId;
    }

    public Long getOrderId() 
    {
        return orderId;
    }
    public void setCashinfoId(Long cashinfoId) 
    {
        this.cashinfoId = cashinfoId;
    }

    public Long getCashinfoId() 
    {
        return cashinfoId;
    }
    public void setMemo(String memo) 
    {
        this.memo = memo;
    }

    public String getMemo() 
    {
        return memo;
    }
    public void setDeliverEmployeeId(Long deliverEmployeeId) 
    {
        this.deliverEmployeeId = deliverEmployeeId;
    }

    public Long getDeliverEmployeeId() 
    {
        return deliverEmployeeId;
    }
    public void setCollectType(String collectType) 
    {
        this.collectType = collectType;
    }

    public String getCollectType() 
    {
        return collectType;
    }
    public void setPaycashId(Long paycashId) 
    {
        this.paycashId = paycashId;
    }

    public Long getPaycashId() 
    {
        return paycashId;
    }
    public void setPayTime(Date payTime) 
    {
        this.payTime = payTime;
    }

    public Date getPayTime() 
    {
        return payTime;
    }
    public void setEmployeeId(Long employeeId) 
    {
        this.employeeId = employeeId;
    }

    public Long getEmployeeId() 
    {
        return employeeId;
    }
    public void setCollectCoupons(String collectCoupons) 
    {
        this.collectCoupons = collectCoupons;
    }

    public String getCollectCoupons() 
    {
        return collectCoupons;
    }
    public void setReceivable(BigDecimal receivable) 
    {
        this.receivable = receivable;
    }

    public BigDecimal getReceivable() 
    {
        return receivable;
    }
    public void setBusinessType(String businessType) 
    {
        this.businessType = businessType;
    }

    public String getBusinessType() 
    {
        return businessType;
    }
    public void setActualDeposit(Long actualDeposit) 
    {
        this.actualDeposit = actualDeposit;
    }

    public Long getActualDeposit() 
    {
        return actualDeposit;
    }
    public void setTransactionId(String transactionId) 
    {
        this.transactionId = transactionId;
    }

    public String getTransactionId() 
    {
        return transactionId;
    }
    public void setActualAmount(BigDecimal actualAmount) 
    {
        this.actualAmount = actualAmount;
    }

    public BigDecimal getActualAmount() 
    {
        return actualAmount;
    }
    public void setChangeOrderId(Long changeOrderId) 
    {
        this.changeOrderId = changeOrderId;
    }

    public Long getChangeOrderId() 
    {
        return changeOrderId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("orderId", getOrderId())
            .append("cashinfoId", getCashinfoId())
            .append("memo", getMemo())
            .append("deliverEmployeeId", getDeliverEmployeeId())
            .append("collectType", getCollectType())
            .append("paycashId", getPaycashId())
            .append("payTime", getPayTime())
            .append("employeeId", getEmployeeId())
            .append("collectCoupons", getCollectCoupons())
            .append("receivable", getReceivable())
            .append("businessType", getBusinessType())
            .append("actualDeposit", getActualDeposit())
            .append("transactionId", getTransactionId())
            .append("actualAmount", getActualAmount())
            .append("changeOrderId", getChangeOrderId())
            .toString();
    }
}
